<%@page import="org.apache.shiro.subject.Subject" %>
<%@page import="org.apache.shiro.SecurityUtils" %>
<%@page import="com.hzlh.shiro.ShiroUser" %>
<%@page import="com.hzlh.domain.po.LoginAdmin"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<%
	Subject subject = SecurityUtils.getSubject();
	ShiroUser shiroUser = (ShiroUser)subject.getPrincipal();
	LoginAdmin user = shiroUser.getUser();
%>

<!-- START X-NAVIGATION VERTICAL -->
<ul class="hit-nav x-navigation x-navigation-horizontal x-navigation-panel">
    <!-- TOGGLE NAVIGATION -->
   <!--  <li class="xn-icon-button hit-title">
        <a href="#" class="x-navigation-minimize"><span class="fa fa-dedent"></span></a>
    </li>
    END TOGGLE NAVIGATION
    SEARCH
    <li class="xn-icon-button hit-head">
        <a>应用管理</a>
    </li>   
    <li class="xn-icon-button hit-head">
        <a>内容管理</a>
    </li> 
    <li class="xn-icon-button hit-head">
        <a>频道管理</a>
    </li> 
    <li class="xn-icon-button hit-head">
        <a>监管审核</a>
    </li> 
    <li class="xn-icon-button hit-head">
        <a>用户管理</a>
    </li> 
    <li class="xn-icon-button hit-head">
        <a>主持人中心</a>
    </li>
    <li class="xn-icon-button hit-head">
        <a>主播中心</a>
    </li> -->
    <!-- END SEARCH -->
    <!-- SIGN OUT -->
    
    <li class="pull-right hit-title">
		<a href="${ctx}/logout.htm" style="width: auto;"><span class="fa fa-sign-out"></span>退出</a>    
    </li>
    <li class="pull-right hit-title">
    	<a style="padding: 15px !important;"><img width="50px" height="50px" style="margin-right: 15px;" src="<%=user.getIcon()%>" alt="<shiro:principal/>"/><shiro:principal/></a>
    </li> 
    <!-- END SIGN OUT -->
</ul>